<div class="box box-solid">
    <div class="box-body table-responsive no-padding">
        <form role="form" action="#" method="post">
            <div class="box-body">
                    <div class="form-group">
                        <label>新密码</label>
                        <input type="password" name='Passwd[new]' class="form-control" id="input02">
                        <p class="help-blockk"></p>
                    </div>
                    <div class="form-group">
                        <label>重复新密码</label>
                        <input type="password" name='Passwd[repeat]' class="form-control" id="input03">
                        <p class="help-blockk"></p>
                    </div>
                    <div class="box-footer">
                        <button class="btn btn-primary" type="submit">重置密码</button>
                        <a href="<?php echo $this->createUrl('user/list'); ?>">返回用户列表</a>
                    </div>
            </div>
        </form>
    </div>
</div>
<script>
    $(function(){
        $("input").blur(function(){
            $(this).validate(['required', 'passwd']);
        });
        $("form").submit(function(){
            validateResult = true;
            $("input").validate(['required', 'passwd']);
            return validateResult
        })
    })
</script>